/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Player;

import java.awt.Color;

/**
 *
 * @author markus
 */
public class Player {

    private String name;
    private Color color;
    private int remainingStones;
    private int fieldStones;
    private int numberNextStone;
    private double randomFactor = 0.01;
    public int points;

    public Player(String name, Color color) {
        this.name = name;
        this.color = color;
        this.remainingStones = 10;
        this.fieldStones = 0;
    }
    
    public Player(String name, Color color, double randomFactor) {
        this.name = name;
        this.color = color;
        this.remainingStones = 10;
        this.fieldStones = 0;
        this.randomFactor = randomFactor;
    }

    public double getRandomFactor() {
        return randomFactor;
    }

    public void setRandomFactor(double randomFactor) {
        this.randomFactor = randomFactor;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getFieldStones() {
        return fieldStones;
    }

    public void setFieldStones(int fieldStones) {
        this.fieldStones = fieldStones;
    }

    public int getRemainingStones() {
        return remainingStones;
    }

    public void setRemainingStones(int remainingStones) {
        this.remainingStones = remainingStones;
    }

    public int getNumberNextStone() {
        return numberNextStone;
    }

    public void setNumberNextStone(int numberNextStone) {
        this.numberNextStone = numberNextStone;
    }
}
